home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / gamekit-1 / GKText.c < prev    next >
C/C++ Source or Header  |  1995-06-12  |  14KB  |  395 lines

  1. /* ./GKText.c generated from GKText.psw
  2.    by unix pswrap V1.009  Wed Apr 19 17:50:24 PDT 1989
  3.  */
  4.  
  5. #include <dpsclient/dpsfriends.h>
  6. #include <string.h>
  7.  
  8. #line 1 "GKText.psw"
  9. #line 10 "./GKText.c"
  10. void GKTextSetUp()
  11. {
  12.   typedef struct {
  13.     unsigned char tokenType;
  14.     unsigned char topLevelCount;
  15.     unsigned short nBytes;
  16.  
  17.     DPSBinObjGeneric obj0;
  18.     DPSBinObjGeneric obj1;
  19.     DPSBinObjGeneric obj2;
  20.     DPSBinObjGeneric obj3;
  21.     DPSBinObjGeneric obj4;
  22.     DPSBinObjGeneric obj5;
  23.     DPSBinObjGeneric obj6;
  24.     DPSBinObjGeneric obj7;
  25.     DPSBinObjGeneric obj8;
  26.     DPSBinObjGeneric obj9;
  27.     DPSBinObjGeneric obj10;
  28.     DPSBinObjGeneric obj11;
  29.     DPSBinObjGeneric obj12;
  30.     DPSBinObjGeneric obj13;
  31.     DPSBinObjGeneric obj14;
  32.     DPSBinObjGeneric obj15;
  33.     DPSBinObjGeneric obj16;
  34.     DPSBinObjGeneric obj17;
  35.     DPSBinObjGeneric obj18;
  36.     DPSBinObjGeneric obj19;
  37.     DPSBinObjGeneric obj20;
  38.     DPSBinObjGeneric obj21;
  39.     DPSBinObjReal obj22;
  40.     DPSBinObjGeneric obj23;
  41.     DPSBinObjGeneric obj24;
  42.     DPSBinObjGeneric obj25;
  43.     DPSBinObjGeneric obj26;
  44.     DPSBinObjGeneric obj27;
  45.     DPSBinObjGeneric obj28;
  46.     DPSBinObjGeneric obj29;
  47.     DPSBinObjGeneric obj30;
  48.     DPSBinObjGeneric obj31;
  49.     DPSBinObjGeneric obj32;
  50.     DPSBinObjGeneric obj33;
  51.     DPSBinObjGeneric obj34;
  52.     DPSBinObjGeneric obj35;
  53.     DPSBinObjGeneric obj36;
  54.     DPSBinObjGeneric obj37;
  55.     DPSBinObjGeneric obj38;
  56.     DPSBinObjGeneric obj39;
  57.     DPSBinObjGeneric obj40;
  58.     DPSBinObjGeneric obj41;
  59.     DPSBinObjGeneric obj42;
  60.     DPSBinObjGeneric obj43;
  61.     DPSBinObjGeneric obj44;
  62.     DPSBinObjGeneric obj45;
  63.     DPSBinObjGeneric obj46;
  64.     DPSBinObjGeneric obj47;
  65.     DPSBinObjGeneric obj48;
  66.     DPSBinObjGeneric obj49;
  67.     DPSBinObjGeneric obj50;
  68.     DPSBinObjGeneric obj51;
  69.     DPSBinObjGeneric obj52;
  70.     DPSBinObjGeneric obj53;
  71.     DPSBinObjGeneric obj54;
  72.     DPSBinObjGeneric obj55;
  73.     DPSBinObjGeneric obj56;
  74.     DPSBinObjGeneric obj57;
  75.     DPSBinObjGeneric obj58;
  76.     DPSBinObjGeneric obj59;
  77.     DPSBinObjReal obj60;
  78.     DPSBinObjGeneric obj61;
  79.     DPSBinObjGeneric obj62;
  80.     DPSBinObjGeneric obj63;
  81.     DPSBinObjGeneric obj64;
  82.     DPSBinObjGeneric obj65;
  83.     DPSBinObjGeneric obj66;
  84.     DPSBinObjGeneric obj67;
  85.     DPSBinObjGeneric obj68;
  86.     DPSBinObjGeneric obj69;
  87.     DPSBinObjGeneric obj70;
  88.     DPSBinObjGeneric obj71;
  89.     DPSBinObjGeneric obj72;
  90.     DPSBinObjGeneric obj73;
  91.     DPSBinObjGeneric obj74;
  92.     DPSBinObjGeneric obj75;
  93.     DPSBinObjGeneric obj76;
  94.     DPSBinObjGeneric obj77;
  95.     DPSBinObjGeneric obj78;
  96.     DPSBinObjGeneric obj79;
  97.     DPSBinObjGeneric obj80;
  98.     DPSBinObjGeneric obj81;
  99.     DPSBinObjGeneric obj82;
  100.     DPSBinObjGeneric obj83;
  101.     DPSBinObjGeneric obj84;
  102.     DPSBinObjGeneric obj85;
  103.     DPSBinObjGeneric obj86;
  104.     DPSBinObjGeneric obj87;
  105.     DPSBinObjGeneric obj88;
  106.     DPSBinObjGeneric obj89;
  107.     DPSBinObjGeneric obj90;
  108.     DPSBinObjGeneric obj91;
  109.     DPSBinObjGeneric obj92;
  110.     DPSBinObjGeneric obj93;
  111.     DPSBinObjGeneric obj94;
  112.     DPSBinObjGeneric obj95;
  113.     DPSBinObjGeneric obj96;
  114.     DPSBinObjGeneric obj97;
  115.     DPSBinObjGeneric obj98;
  116.     DPSBinObjGeneric obj99;
  117.     DPSBinObjGeneric obj100;
  118.     DPSBinObjGeneric obj101;
  119.     DPSBinObjGeneric obj102;
  120.     DPSBinObjGeneric obj103;
  121.     DPSBinObjGeneric obj104;
  122.     DPSBinObjGeneric obj105;
  123.     DPSBinObjGeneric obj106;
  124.     DPSBinObjGeneric obj107;
  125.     DPSBinObjGeneric obj108;
  126.     DPSBinObjGeneric obj109;
  127.     DPSBinObjGeneric obj110;
  128.     DPSBinObjGeneric obj111;
  129.     DPSBinObjGeneric obj112;
  130.     DPSBinObjGeneric obj113;
  131.     DPSBinObjGeneric obj114;
  132.     DPSBinObjGeneric obj115;
  133.     char obj116[5];
  134.     char obj117[6];
  135.     char obj118[3];
  136.     char obj119[5];
  137.     char obj120[5];
  138.     char obj121[10];
  139.     char obj122[6];
  140.     } _dpsQ;
  141.   static _dpsQ _dpsF = {
  142.     DPS_DEF_TOKENTYPE, 6, 972,
  143.     {DPS_LITERAL|DPS_NAME, 0, 6, 962},    /* gkbbox */
  144.     {DPS_EXEC|DPS_ARRAY, 0, 48, 544},
  145.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  146.     {DPS_LITERAL|DPS_NAME, 0, 10, 952},    /* gkdrawtext */
  147.     {DPS_EXEC|DPS_ARRAY, 0, 62, 48},
  148.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  149.     {DPS_LITERAL|DPS_NAME, 0, 3, 939},    /* str */
  150.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  151.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  152.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  153.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  154.     {DPS_LITERAL|DPS_NAME, 0, 5, 942},    /* ylate */
  155.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  156.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  157.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  158.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  159.     {DPS_LITERAL|DPS_NAME, 0, 5, 947},    /* xlate */
  160.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  161.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  162.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  163.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  164.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},    /* gsave */
  165.     {DPS_LITERAL|DPS_REAL, 0, 0, 0.0},
  166.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150},    /* setgray */
  167.     {DPS_EXEC|DPS_NAME, 0, 5, 947},    /* xlate */
  168.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  169.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  170.     {DPS_EXEC|DPS_NAME, 0, 5, 942},    /* ylate */
  171.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  172.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  173.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  174.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  175.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160},    /* show */
  176.     {DPS_EXEC|DPS_NAME, 0, 5, 947},    /* xlate */
  177.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  178.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  179.     {DPS_EXEC|DPS_NAME, 0, 5, 942},    /* ylate */
  180.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  181.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  182.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  183.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  184.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160},    /* show */
  185.     {DPS_EXEC|DPS_NAME, 0, 5, 947},    /* xlate */
  186.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  187.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  188.     {DPS_EXEC|DPS_NAME, 0, 5, 942},    /* ylate */
  189.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  190.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  191.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  192.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  193.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160},    /* show */
  194.     {DPS_EXEC|DPS_NAME, 0, 5, 947},    /* xlate */
  195.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  196.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  197.     {DPS_EXEC|DPS_NAME, 0, 5, 942},    /* ylate */
  198.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  199.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  200.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  201.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  202.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160},    /* show */
  203.     {DPS_LITERAL|DPS_REAL, 0, 0, 1.0},
  204.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150},    /* setgray */
  205.     {DPS_EXEC|DPS_NAME, 0, 5, 947},    /* xlate */
  206.     {DPS_EXEC|DPS_NAME, 0, 5, 942},    /* ylate */
  207.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  208.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  209.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160},    /* show */
  210.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},    /* grestore */
  211.     {DPS_LITERAL|DPS_NAME, 0, 3, 939},    /* str */
  212.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  213.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  214.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  215.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51},    /* def */
  216.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},    /* newpath */
  217.     {DPS_LITERAL|DPS_INT, 0, 0, 0},
  218.     {DPS_LITERAL|DPS_INT, 0, 0, 0},
  219.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  220.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  221.     {DPS_LITERAL|DPS_BOOL, 0, 0, 0},
  222.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 17},    /* charpath */
  223.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  224.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  225.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},    /* moveto */
  226.     {DPS_LITERAL|DPS_STRING, 0, 3, 939},
  227.     {DPS_LITERAL|DPS_BOOL, 0, 0, 0},
  228.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 17},    /* charpath */
  229.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 115},    /* pathbbox */
  230.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62},    /* exch */
  231.     {DPS_LITERAL|DPS_INT, 0, 0, 3},
  232.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 88},    /* index */
  233.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  234.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  235.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  236.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62},    /* exch */
  237.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  238.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 88},    /* index */
  239.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  240.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  241.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},    /* add */
  242.     {DPS_LITERAL|DPS_INT, 0, 0, 4},
  243.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  244.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  245.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  246.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  247.     {DPS_LITERAL|DPS_INT, 0, 0, 4},
  248.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  249.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  250.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  251.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},    /* sub */
  252.     {DPS_LITERAL|DPS_INT, 0, 0, 4},
  253.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  254.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 135},    /* roll */
  255.     {DPS_EXEC|DPS_NAME, 0, 6, 933},    /* height */
  256.     {DPS_EXEC|DPS_NAME, 0, 5, 928},    /* width */
  257.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 426},    /* y */
  258.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 425},    /* x */
  259.     {'w','i','d','t','h'},
  260.     {'h','e','i','g','h','t'},
  261.     {'s','t','r'},
  262.     {'y','l','a','t','e'},
  263.     {'x','l','a','t','e'},
  264.     {'g','k','d','r','a','w','t','e','x','t'},
  265.     {'g','k','b','b','o','x'},
  266.     }; /* _dpsQ */
  267.   register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  268.   char pad[3];
  269.   DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,972);
  270.   if (0) *pad = 0;    /* quiets compiler warnings */
  271. }
  272. #line 39 "GKText.psw"
  273.  
  274. #line 275 "./GKText.c"
  275. void GKborderedTextBoundingBox(str, x, y, width, height)
  276. char *str; float *x; float *y; float *width; float *height; 
  277. {
  278.   typedef struct {
  279.     unsigned char tokenType;
  280.     unsigned char sizeFlag;
  281.     unsigned short topLevelCount;
  282.     unsigned long nBytes;
  283.  
  284.     DPSBinObjGeneric obj0;
  285.     DPSBinObjGeneric obj1;
  286.     DPSBinObjGeneric obj2;
  287.     DPSBinObjGeneric obj3;
  288.     DPSBinObjGeneric obj4;
  289.     DPSBinObjGeneric obj5;
  290.     DPSBinObjGeneric obj6;
  291.     DPSBinObjGeneric obj7;
  292.     DPSBinObjGeneric obj8;
  293.     DPSBinObjGeneric obj9;
  294.     DPSBinObjGeneric obj10;
  295.     DPSBinObjGeneric obj11;
  296.     DPSBinObjGeneric obj12;
  297.     DPSBinObjGeneric obj13;
  298.     DPSBinObjGeneric obj14;
  299.     DPSBinObjGeneric obj15;
  300.     char obj16[6];
  301.     } _dpsQ;
  302.   static _dpsQ _dpsF = {
  303.     DPS_DEF_TOKENTYPE, 0, 16, 142,
  304.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},    /* gsave */
  305.     {DPS_EXEC|DPS_NAME, 0, 0, 134},    /* param str */
  306.     {DPS_EXEC|DPS_NAME, 0, 6, 128},    /* gkbbox */
  307.     {DPS_LITERAL|DPS_INT, 0, 0, 3},
  308.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119},    /* printobject */
  309.     {DPS_LITERAL|DPS_INT, 0, 0, 2},
  310.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119},    /* printobject */
  311.     {DPS_LITERAL|DPS_INT, 0, 0, 1},
  312.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119},    /* printobject */
  313.     {DPS_LITERAL|DPS_INT, 0, 0, 0},
  314.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119},    /* printobject */
  315.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},    /* grestore */
  316.     {DPS_LITERAL|DPS_INT, 0, 0, 0},
  317.     {DPS_LITERAL|DPS_INT, 0, 0, 4},
  318.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119},    /* printobject */
  319.     {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 70},    /* flush */
  320.     {'g','k','b','b','o','x'},
  321.     }; /* _dpsQ */
  322.   register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  323.   char pad[3];
  324.   register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  325.   register int _dps_offset = 134;
  326.   static DPSResultsRec _dpsR[] = {
  327.     { dps_tFloat, -1 },
  328.     { dps_tFloat, -1 },
  329.     { dps_tFloat, -1 },
  330.     { dps_tFloat, -1 },
  331.     };
  332.     _dpsR[0].value = (char *)x;
  333.     _dpsR[1].value = (char *)y;
  334.     _dpsR[2].value = (char *)width;
  335.     _dpsR[3].value = (char *)height;
  336.  
  337.  
  338.   _dpsP[1].length = strlen(str);
  339.   _dpsP[1].val.stringVal = _dps_offset;
  340.   _dps_offset += (_dpsP[1].length + 3) & ~3;
  341.  
  342.   _dpsF.nBytes = _dps_offset+8;
  343.   DPSSetResultTable(_dpsCurCtxt, _dpsR, 4);
  344.   DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,142);
  345.   DPSWriteStringChars(_dpsCurCtxt, (char *)str, _dpsP[1].length);
  346.   DPSWriteStringChars(_dpsCurCtxt, (char *)pad, ~(_dpsP[1].length + 3) & 3);
  347.   DPSAwaitReturnValues(_dpsCurCtxt);
  348.   if (0) *pad = 0;    /* quiets compiler warnings */
  349. }
  350. #line 49 "GKText.psw"
  351.  
  352. #line 353 "./GKText.c"
  353. void GKdrawBorderedText(xlate, ylate, str)
  354. float xlate; float ylate; char *str; 
  355. {
  356.   typedef struct {
  357.     unsigned char tokenType;
  358.     unsigned char sizeFlag;
  359.     unsigned short topLevelCount;
  360.     unsigned long nBytes;
  361.  
  362.     DPSBinObjReal obj0;
  363.     DPSBinObjReal obj1;
  364.     DPSBinObjGeneric obj2;
  365.     DPSBinObjGeneric obj3;
  366.     char obj4[10];
  367.     } _dpsQ;
  368.   static _dpsQ _dpsF = {
  369.     DPS_DEF_TOKENTYPE, 0, 4, 50,
  370.     {DPS_LITERAL|DPS_REAL, 0, 0, 0},    /* param: xlate */
  371.     {DPS_LITERAL|DPS_REAL, 0, 0, 0},    /* param: ylate */
  372.     {DPS_EXEC|DPS_NAME, 0, 0, 42},    /* param str */
  373.     {DPS_EXEC|DPS_NAME, 0, 10, 32},    /* gkdrawtext */
  374.     {'g','k','d','r','a','w','t','e','x','t'},
  375.     }; /* _dpsQ */
  376.   register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  377.   char pad[3];
  378.   register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  379.   register int _dps_offset = 42;
  380.  
  381.   _dpsP[0].val.realVal = xlate;
  382.   _dpsP[1].val.realVal = ylate;
  383.   _dpsP[2].length = strlen(str);
  384.   _dpsP[2].val.stringVal = _dps_offset;
  385.   _dps_offset += (_dpsP[2].length + 3) & ~3;
  386.  
  387.   _dpsF.nBytes = _dps_offset+8;
  388.   DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,50);
  389.   DPSWriteStringChars(_dpsCurCtxt, (char *)str, _dpsP[2].length);
  390.   DPSWriteStringChars(_dpsCurCtxt, (char *)pad, ~(_dpsP[2].length + 3) & 3);
  391.   if (0) *pad = 0;    /* quiets compiler warnings */
  392. }
  393. #line 57 "GKText.psw"
  394.  
  395.